package com.sophialex.health.record.common.bind.swt.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
 *@author sunxq
 * UIPropName:会替换SWTObservables.observeXX中的XX，默认为text,即SWTObservables.observeText(..)
 * beanPath:bean属性链
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface BindTo {
	String UIPropName() default "text";
	String beanPath();

}
